package com.glsc.ngateway.common.api.amdoc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author weizt
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AssetProductRequestNodeListViewDto implements Serializable {
    private Integer pageNum = 1;

    private Integer pageSize = 10;

    /**
     * 请求id
     */
    private List<Long> requestIdList;

    /**
     * 操作类型（0-未处理，）
     */
    private List<String> isRemarkList;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDateBegin;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDateEnd;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date receiveDateBegin;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date receiveDateEnd;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public List<Long> getRequestIdList() {
        return requestIdList;
    }

    public void setRequestIdList(List<Long> requestIdList) {
        this.requestIdList = requestIdList;
    }

    public List<String> getIsRemarkList() {
        return isRemarkList;
    }

    public void setIsRemarkList(List<String> isRemarkList) {
        this.isRemarkList = isRemarkList;
    }

    public Date getCreateDateBegin() {
        return createDateBegin;
    }

    public void setCreateDateBegin(Date createDateBegin) {
        this.createDateBegin = createDateBegin;
    }

    public Date getCreateDateEnd() {
        return createDateEnd;
    }

    public void setCreateDateEnd(Date createDateEnd) {
        this.createDateEnd = createDateEnd;
    }

    public Date getReceiveDateBegin() {
        return receiveDateBegin;
    }

    public void setReceiveDateBegin(Date receiveDateBegin) {
        this.receiveDateBegin = receiveDateBegin;
    }

    public Date getReceiveDateEnd() {
        return receiveDateEnd;
    }

    public void setReceiveDateEnd(Date receiveDateEnd) {
        this.receiveDateEnd = receiveDateEnd;
    }

    @Override
    public String toString() {
        return "AssetProductRequestNodeListViewDto{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", requestIdList=" + requestIdList +
                ", isRemarkList=" + isRemarkList +
                ", createDateBegin=" + createDateBegin +
                ", createDateEnd=" + createDateEnd +
                ", receiveDateBegin=" + receiveDateBegin +
                ", receiveDateEnd=" + receiveDateEnd +
                '}';
    }
}